<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <title>登录</title>
    <link type="text/css" rel="stylesheet" href="css/signin.css">
    <link type="text/css" rel="stylesheet" href="bootstrap/css/bootstrap.css">
</head>
<body>

    <div class="signin">
        <div class="signin-head">
            <img src="images/test/head_test.png" class="img-circle">
        </div>
        <form action="login_in" method="post" class="form-signin" role="form">
            <input type="text" class="form-control" name="user[username]" placeholder="用户名" required />
            <input type="password" class="form-control" name="user[password]" placeholder="密码" required />
            <button class="btn btn-lg btn-warning btn-block" type="submit">登录</button>

            <label class="checkbox">
                <input type="checkbox" name="remember_me" value="on"> 记住我
            </label>
        </form>
        <div class="alert alert-danger" role="alert" style="display:<%= info.title ? "block" : "none" %>;">
            <strong><%= info.title %></strong>
            <%= info.content %>
        </div>
    </div>

<%- include("commons/footer") %>
</body>
</html>